package org.huntaway.kernel.util.polymorphism;

public enum Fruit {
	APPLE {
		public void test() {
			System.out.println("I am an apple.");
		}
	},
	PEAR {
		public void test() {
			System.out.println("I am a pear.");
		}
	},
	PEACH {
		public void test() {
			System.out.println("I am a peach.");
		}
	},
	ORANGE;
	public void test() {
		System.out.println("I am a fruit.");
	}
}
